<template>
	<picker mode="date" @change="change">
		<fui-form-item label="签单日期" asterisk arrow highlight>
			<view v-if="!sign_date" class="fs-color__label">请选择签单日期</view>
			<view v-else>{{ sign_date }}</view>
		</fui-form-item>
	</picker>
</template>

<script setup>
	import { ref } from 'vue';

	const sign_date = defineModel('sign_date');
	const change = (e) => {
		sign_date.value = e.detail.value;
	};
</script>

<style></style>